package aqr;

public class FileRunnerDemo {

	public static void main(String[] args) {
		try {
			Long start = System.currentTimeMillis();
			System.out.println("START: "+ start);
			
			for(int i = 0; i<3; i++) {
				new FileRunner().createFiles();
			}
			
			/*FileRunner runner = new FileRunner(); 
			
			Thread runner1 = new Thread(runner, "run1");
			Thread runner2 = new Thread(runner, "run2");
			Thread runner3 = new Thread(runner, "run3");
			
			runner1.start(); 
			runner2.start();
			runner3.start();*/
			
			Long stop = System.currentTimeMillis();
			System.out.println("STOP: "+ stop);
			System.out.println("TIME ELAPSED: "+ (stop-start));
			
		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
